package com.wangijun.yuan.admin.blog.model.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 博客简介表 保存参数
 * </p>
 *
 * @author Wlf
 * @since 2024-08-26
 */
@Getter
@Setter
@Schema(name = "Article", description = "博客简介表")
public class ArticleSaveParam {

    @Schema(description = "主键")
    private Long id;

    @Schema(description = "摘要")
    private String summary;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "阅读数")
    private Integer readNum;

    @Schema(description = "博客封面")
    private String articleCover;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "创建人")
    private Long createBy;

    @Schema(description = "更新人")
    private Long updateBy;

    @Schema(description = "逻辑删除标识 1已删除;0未删除")
    private Integer deleted;

    @Schema(description = "发布状态 1已发布;0未发布")
    private Integer status;

    @Schema(description = "点赞数")
    private Integer star;

    @Schema(description = "收藏数量")
    private Integer favorites;

    @Schema(description = "分类ID")
    private Long categoryId;

    @Schema(description = "评论数量")
    private Integer commentNum;

    @Schema(description = "话题ID")
    private Long topicId;

    @Schema(description = "最后编辑时间")
    private LocalDateTime editTime;
}
